/*
 * @Descripttion: 
 * @version: 
 * @Author: 高月飞
 * @Date: 2023-11-19 14:01:10
 * @LastEditors: 高月飞
 * @LastEditTime: 2023-11-22 14:11:48
 */
/**
 * 响应拦截
 */
import type { AxiosInstance } from "axios"

export default (instances: AxiosInstance) => {
    //响应拦截器
    instances.interceptors.response.use(
        res => {
            return res.data

        },
        err => {
            return Promise.reject(err)
        }
    )
}
